@tailwind base;
@tailwind components;
@tailwind utilities;

.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.markdown-preview {
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    overflow-x: auto;
}

.markdown-preview h1,
.markdown-preview h2,
.markdown-preview h3,
.markdown-preview h4,
.markdown-preview h5,
.markdown-preview h6 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.markdown-preview p {
    margin: 0.5rem 0;
}

.markdown-preview ul,
.markdown-preview ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.markdown-preview table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.markdown-preview th,
.markdown-preview td {
    border: 1px solid #ddd;
    padding: 0.5rem;
}


.markdown-preview {
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    overflow-x: auto;
}

.prose {
    padding: 1rem;
    max-width: 100%;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.prose p {
    margin: 0.5rem 0;
}

.prose ul,
.prose ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.prose th,
.prose td {
    border: 1px solid #ddd;
    padding: 0.5rem;
}
